Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if optional license is in available values #215

Merged
merged 9 commits into from
Jul 2, 2024

Conversation

gounux
Copy link
Contributor

@gounux gounux commented Jun 23, 2024

No description provided.

@github-actions github-actions bot added the bug Something isn't working label Jun 23, 2024
Copy link
Member

@Guts Guts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'ai pas regardé mais est-ce que tu check que la valeur correspond à l'une des licences disponibles ?

@gounux gounux changed the title Remove license from mandatory keywords Check if optional license is in available values Jun 24, 2024
@gounux
Copy link
Contributor Author

gounux commented Jun 24, 2024

J'ai pas regardé mais est-ce que tu check que la valeur correspond à l'une des licences disponibles ?

super idée ! c'est fait

@gounux gounux requested a review from Guts June 24, 2024 08:56
geotribu_cli/content/header_check.py Outdated Show resolved Hide resolved
geotribu_cli/content/header_check.py Outdated Show resolved Hide resolved
geotribu_cli/content/header_check.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jul 2, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 8 lines in your changes missing coverage. Please review.

Project coverage is 67.02%. Comparing base (b2ef10b) to head (7bcabca).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #215      +/-   ##
==========================================
- Coverage   67.12%   67.02%   -0.11%     
==========================================
  Files          43       43              
  Lines        1956     1971      +15     
  Branches      347      351       +4     
==========================================
+ Hits         1313     1321       +8     
- Misses        561      567       +6     
- Partials       82       83       +1     
Flag Coverage Δ
unittests 66.76% <50.00%> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
geotribu_cli/constants.py 98.43% <100.00%> (+1.82%) ⬆️
geotribu_cli/content/header_check.py 43.51% <27.27%> (-2.40%) ⬇️

Guts added a commit that referenced this pull request Jul 2, 2024
- vu que je fais joujou avec les enums en ce moment dans d'autres
projets (DicoGIS), ça m'a donné des idées
- j'en ai profité pour ajouter la docstring sur la fonction impactée

Pour info, je n'ai pas retiré "license" puisque c'est fait dans #215
@Guts Guts force-pushed the fix/remove-license-from-header-check branch from a7284db to b7be023 Compare July 2, 2024 12:15
@Guts
Copy link
Member

Guts commented Jul 2, 2024

@gounux je te laisse la main ;)

Copy link

sonarcloud bot commented Jul 2, 2024

@gounux
Copy link
Contributor Author

gounux commented Jul 2, 2024

@Guts tu peux merger comme un sagouin (coin coin !) ? Flemme de relancer les tests Win qui plantent :D

@Guts Guts merged commit 5a69ec5 into main Jul 2, 2024
29 of 31 checks passed
@Guts Guts deleted the fix/remove-license-from-header-check branch July 2, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants